package com.example.filesystem;

import java.util.ArrayList;

public abstract class FileNode {
    protected String path;
    FileNode(String path) {
        this.path = path;
    }

    public abstract Integer calculateNumOfFile();
    public abstract Integer calculateSizeOfFile();

    public abstract void addNode(FileNode node);
    public abstract void removeNode(FileNode node);
}


